@model Vms.Web.Models.PROGRAM

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>PROGRAM</legend>

    <div class="display-label">Name</div>
    <div class="display-field">@Model.Name</div>

    <div class="display-label">PlayLength</div>
    <div class="display-field">@Model.PlayLength</div>

    <div class="display-label">StartYear</div>
    <div class="display-field">@Model.StartYear</div>

    <div class="display-label">StartMonth</div>
    <div class="display-field">@Model.StartMonth</div>

    <div class="display-label">StartDay</div>
    <div class="display-field">@Model.StartDay</div>

    <div class="display-label">EndYear</div>
    <div class="display-field">@Model.EndYear</div>

    <div class="display-label">EndMonth</div>
    <div class="display-field">@Model.EndMonth</div>

    <div class="display-label">EndDay</div>
    <div class="display-field">@Model.EndDay</div>

    <div class="display-label">MonPlay</div>
    <div class="display-field">@Model.MonPlay</div>

    <div class="display-label">TuePlay</div>
    <div class="display-field">@Model.TuePlay</div>

    <div class="display-label">WedPlay</div>
    <div class="display-field">@Model.WedPlay</div>

    <div class="display-label">ThuPlay</div>
    <div class="display-field">@Model.ThuPlay</div>

    <div class="display-label">FriPlay</div>
    <div class="display-field">@Model.FriPlay</div>

    <div class="display-label">SatPlay</div>
    <div class="display-field">@Model.SatPlay</div>

    <div class="display-label">SunPlay</div>
    <div class="display-field">@Model.SunPlay</div>

    <div class="display-label">StartHour</div>
    <div class="display-field">@Model.StartHour</div>

    <div class="display-label">StartMinute</div>
    <div class="display-field">@Model.StartMinute</div>

    <div class="display-label">EndHour</div>
    <div class="display-field">@Model.EndHour</div>

    <div class="display-label">EndMinute</div>
    <div class="display-field">@Model.EndMinute</div>

    <div class="display-label">CONTENTS</div>
    <div class="display-field">@(Model.CONTENTS == null ? "None" : Model.CONTENTS.Count.ToString())</div>

    <div class="display-label">SCREEN</div>
    <div class="display-field">@(Model.SCREEN == null ? "None" : Model.SCREEN.Name)</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" class="btn" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}


